/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    hansen
 * 创建时间:    2024-01-26
 */
package org.jeecg.modules.dock.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.dock.entity.mes.response.MesBaseResponseVO;
import org.jeecg.modules.dock.entity.vms.request.VMSRequestVO;
import org.jeecg.modules.dock.entity.vms.response.VMSResponseVO;
import org.jeecg.modules.dock.service.VmsDockingRepeaterService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * VMS业务调用模块
 *
 * @author hansen
 * @version 1.0.0
 * @date 2024-01-26 09:40:52
 */
@Slf4j
@RestController
@RequestMapping("dock/repeater/vms")
@RequiredArgsConstructor
@Api(tags = "VMS业务调用模块")
public class VmsDockingRepeaterController {

    private final VmsDockingRepeaterService vmsDockingRepeaterService;

    /**
     * 信号触发接口
     *
     * @author hansen
     * @since 2024/1/26 9:51
     * @param baseId
     * @return org.jeecg.modules.dock.entity.vms.response.VMSResponseVO
     */
    @ApiOperation(value = "信号触发接口", notes = "信号触发接口")
    @PostMapping("/signalTrigger")
    public VMSResponseVO signalTrigger(@RequestBody VMSRequestVO baseId) {
        return vmsDockingRepeaterService.signalTrigger(baseId);
    }
}
